package com.hmall.search.service;

import com.hmall.api.dto.ItemDTO;
import com.hmall.item.domain.query.ItemPageQuery;
import com.hmall.common.domain.PageDTO;

import java.io.IOException;
import java.util.Map;

/**
 * @author 李建舜
 * @version 1.0
 * @date 2025/3/15 15:14
 * @description
 */
public interface ISearchService {
    PageDTO<ItemDTO> search(ItemPageQuery query) throws IOException;

    Map searchFilters(ItemPageQuery query) throws IOException;

    ItemDTO queryItemById(Long id) throws IOException;
}
